package com.cosina.mr.dao;

import android.content.Context;

public class DAOFactory {
	private static MoneyRecordDB instance;
	
	public static IMoneyRecordDAO getMRDAO(Context context){
		if(null == instance){
			instance = new MoneyRecordDB(context);
		}
		return instance;
	}
	
	
	public static IStatisticsDAO getStatistics(Context context){
		if(null == instance){
			instance = new MoneyRecordDB(context);
		}
		return instance;
	}
}
